using System;
using System.Runtime.Serialization;
namespace eTMS.DAO{
	/********************************BEGIN DanhSachHocBongEntity****************************************/
	///<summary>
	/// <para>Author: Auto generated class by CSharp Code Generator v2.0</para>
	/// <para>Date:26/10/2011 44:05:56</para>
	/// <para>Class Name: DanhSachHocBongEntity</para>
	/// <para>Description: ClassDanhSachHocBongEntity store data of table DanhSachHocBong</para>
	///</summary>

	[DataContract]
	public partial class DanhSachHocBongEntity{


		private bool _InternalChangedIsNullDanhSachHocBong_ID=true;
		private bool _IsNullDanhSachHocBong_ID=true;
		private bool _InternalChangedIsNullSinhVien_ID=true;
		private bool _IsNullSinhVien_ID=true;
		private bool _InternalChangedIsNullHocKy_ID=true;
		private bool _IsNullHocKy_ID=true;
		private bool _InternalChangedIsNullNamHoc_ID=true;
		private bool _IsNullNamHoc_ID=true;
		private bool _InternalChangedIsNullMucHocBong_ID=true;
		private bool _IsNullMucHocBong_ID=true;
		private bool _InternalChangedIsNullCachTinhHocBong_ID=true;
		private bool _IsNullCachTinhHocBong_ID=true;
		private int _DanhSachHocBong_ID;
		private int _SinhVien_ID;
		private int _HocKy_ID;
		private int _NamHoc_ID;
		private int _MucHocBong_ID;
		private int _CachTinhHocBong_ID;
		[DataMember]
		public bool IsNullDanhSachHocBong_ID{
			get{return _IsNullDanhSachHocBong_ID;}
			set{if(!_InternalChangedIsNullDanhSachHocBong_ID)_IsNullDanhSachHocBong_ID=value;}
		}
		[DataMember]
		public bool IsNullSinhVien_ID{
			get{return _IsNullSinhVien_ID;}
			set{if(!_InternalChangedIsNullSinhVien_ID)_IsNullSinhVien_ID=value;}
		}
		[DataMember]
		public bool IsNullHocKy_ID{
			get{return _IsNullHocKy_ID;}
			set{if(!_InternalChangedIsNullHocKy_ID)_IsNullHocKy_ID=value;}
		}
		[DataMember]
		public bool IsNullNamHoc_ID{
			get{return _IsNullNamHoc_ID;}
			set{if(!_InternalChangedIsNullNamHoc_ID)_IsNullNamHoc_ID=value;}
		}
		[DataMember]
		public bool IsNullMucHocBong_ID{
			get{return _IsNullMucHocBong_ID;}
			set{if(!_InternalChangedIsNullMucHocBong_ID)_IsNullMucHocBong_ID=value;}
		}
		[DataMember]
		public bool IsNullCachTinhHocBong_ID{
			get{return _IsNullCachTinhHocBong_ID;}
			set{if(!_InternalChangedIsNullCachTinhHocBong_ID)_IsNullCachTinhHocBong_ID=value;}
		}
		[DataMember]
		public int DanhSachHocBong_ID{
			get{return _DanhSachHocBong_ID;}
			set{
				_DanhSachHocBong_ID=value;
				if(_DanhSachHocBong_ID!=null){
					_IsNullDanhSachHocBong_ID=false;
					_InternalChangedIsNullDanhSachHocBong_ID=true;
				}
			}
		}
		[DataMember]
		public int SinhVien_ID{
			get{return _SinhVien_ID;}
			set{
				_SinhVien_ID=value;
				if(_SinhVien_ID!=null){
					_IsNullSinhVien_ID=false;
					_InternalChangedIsNullSinhVien_ID=true;
				}
			}
		}
		[DataMember]
		public int HocKy_ID{
			get{return _HocKy_ID;}
			set{
				_HocKy_ID=value;
				if(_HocKy_ID!=null){
					_IsNullHocKy_ID=false;
					_InternalChangedIsNullHocKy_ID=true;
				}
			}
		}
		[DataMember]
		public int NamHoc_ID{
			get{return _NamHoc_ID;}
			set{
				_NamHoc_ID=value;
				if(_NamHoc_ID!=null){
					_IsNullNamHoc_ID=false;
					_InternalChangedIsNullNamHoc_ID=true;
				}
			}
		}
		[DataMember]
		public int MucHocBong_ID{
			get{return _MucHocBong_ID;}
			set{
				_MucHocBong_ID=value;
				if(_MucHocBong_ID!=null){
					_IsNullMucHocBong_ID=false;
					_InternalChangedIsNullMucHocBong_ID=true;
				}
			}
		}
		[DataMember]
		public int CachTinhHocBong_ID{
			get{return _CachTinhHocBong_ID;}
			set{
				_CachTinhHocBong_ID=value;
				if(_CachTinhHocBong_ID!=null){
					_IsNullCachTinhHocBong_ID=false;
					_InternalChangedIsNullCachTinhHocBong_ID=true;
				}
			}
		}
	}
	/*****************************************************************************************************/
	/**********************************END DanhSachHocBongEntityBase*****************************************/
	/*****************************************************************************************************/
}

